]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
app-system: Remove last real use of shell_app_get_tree_entry
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 9 Feb 2013 03:46:31 +0000 (22:46 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sun, 12 May 2013 18:45:36 +0000 (14:45 -0400)
We want to replace our GMenuTreeEntries with GDesktopAppInfos

https://bugzilla.gnome.org/show_bug.cgi?id=698486

src/shell-app-system.c

index 03648f9e1bb10bfeb5f3285175520b1d7fca7e71..6a96e0ca876207b69866c362dd2c952285051ebb 100644 (file)
@@ -471,7 +471,7 @@ shell_app_system_lookup_app_for_path (ShellAppSystem   *system,
   if (!app)
     return NULL;
 
-  app_path = gmenu_tree_entry_get_desktop_file_path (shell_app_get_tree_entry (app));
+  app_path = g_desktop_app_info_get_filename (shell_app_get_app_info (app));
   if (strcmp (desktop_path, app_path) != 0)
     return NULL;